package com.wyfx.blockchain.dao;

import java.util.List;
import java.util.Map;
import java.util.Optional;

/**
 * @Description
 * @Auther: wsm
 * @Date: 2020/9/3 14:39
 */
public interface RocksDao<K,V> {
    boolean save(K key, V value);
    Optional<V> find(K key);
    boolean delete(K key);
    List<Map> list();
}
